<template>
	<map-Point @commitCheck="commitCheck" :mapKey='mapKey' :Radius='Radius' :showResetting='showResetting' :listIco='listIco' :orientationIco='orientationIco' :resettingIco='resettingIco' :configData='configData'></map-Point>
</template>
<script>

export default {
    data() {
        return {
            mapKey:'ba7ea41dfd5c4778579dab28d495fe73',
            address: '',
            latitude: '',
            longitude: '',
            listIco:'/uni_modules/map-Point/static/item-inx.png',
            orientationIco:'/uni_modules/map-Point/static/map-inx.png',
            resettingIco:"/uni_modules/map-Point/static/position.png",
            showResetting:true,
            Radius:'',
            // 微信公众号jsSdk配置
            configData:{
                debug:false,// 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
                appId:'',// 必填，公众号的唯一标识
                timestamp: '', // 必填，生成签名的时间戳
                nonceStr: '', // 必填，生成签名的随机串
                signature: '', // 必填，签名
            }
        };
    },
    methods: {
        commitCheck(e) {
            console.log(e, 565);
            // uni.$emit('commitCheck', e);
			uni.setStorageSync('sendAddress',e)
            uni.navigateBack({
                delta: 1
            });
        }
    }
};
</script>